package com.leicx.guli.product.feign;

import com.leicx.guli.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author daxiong
 * @date 2021/7/15 下午9:52
 */
@FeignClient(name = "gulimall-ware")
public interface WareFeignService {

    @PostMapping("/ware/waresku/hasstock")
    R hasstock(@RequestBody List<Long> skuIds);
}
